package it.fr.sas.v_1_0;

import java.util.concurrent.Callable;

import fr.generali.sas.domain.FluxHibernate;
import fr.generali.sas.ws.v1_0.Flux;
import fr.generali.sas.ws.v1_0.service.PersistFlux;

public class PersistFluxCallable implements Callable<FluxHibernate> {

	PersistFlux service;
	Flux flux;

	public PersistFluxCallable(final PersistFlux _service, Flux _flux) {
		this.service = _service;
		this.flux = _flux;
	}

	public FluxHibernate call() throws Exception {
		this.service.persistFlux(this.flux);

		return null;
	}

}
